/*
 * ConfigOperations.h
 *
 *  Created on: Apr 8, 2010
 *      Author: Lukasz Spintzyk
 */

#ifndef CONFIGOPERATIONS_H_
#define CONFIGOPERATIONS_H_

#ifndef PH_H_
#include "ph.h"
#endif

namespace CudaCryptoFs
{

int getattr(const char *path, struct stat *stbuf);

int chmod(const char *, mode_t);

int chown(const char *, uid_t, gid_t);

int utime(const char *, struct utimbuf *);

int utimens(const char *, const struct timespec tv[2]);

int setxattr(const char *, const char *, const char *, size_t, int);

int getxattr(const char *, const char *, char *, size_t);

int listxattr(const char *, char *, size_t);

int removexattr(const char *, const char *);

}

#endif /* CONFIGOPERATIONS_H_ */
